Why MongoDB aggregation is rewritten by Spring Data in a wrong way